package com.leyou.feign;


import com.leyou.api.R;
import com.leyou.common.to.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("leyou-search")
public interface EsGoodsFeign {


    @PostMapping("/search/goods")
    public R bulkIndex(@RequestBody Goods goods);


}
